# FROM    python:3.6.12 

FROM    microbeam-asset-base-v3.0:0.0.1

MAINTAINER Julian

ENV TZ=Asia/Shanghai

COPY    . /src

WORKDIR /src

# CMD     ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
# CMD   python3 manage.py makemigrations && python3 manage.py migrate && python3 manage.py runserver 0.0.0.0:8000 

ENTRYPOINT ["sh", "-c", "python3 $RUN_PARAMETER"]